package com.panshi.mapper;

import com.panshi.bean.*;
import com.panshi.entity.AppUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AppUserMapper {

    AppUser queryUserInfo(@Param("userId") Integer userId);

    List<Dynamic> queryUserDynamic(PageBean pageBean);

    Essay queryEssayById (String id);

    Question queryQuestionById(String id);

    Answer queryAnswerById(String id);
}
